<?php
class C_Index extends C_Abstract
{
    public function indexAction()
    {
        $this->smt->display('index.html');
    }
    
    public function topAction()
    {
        $this->smt->display('admin_top.html');
    }
    
    public function leftAction()
    {
        require_once MODULE_PATH .'/cms/cmsclass.php';
        $pcls = \Modules\Cms\Cmsclass::fetchList('product');
        
        $this->smt->assign('pcls', $pcls);
        $this->smt->display('left.html');
    }
    
    
    public function rightAction()
    {
        $this->smt->display('welcome.html');
    }    
}